/*
 * jQuery Mobile Framework : plugin to provide a date and time picker.
 * Copyright (c) JTSage
 * CC 3.0 Attribution.  May be relicensed without permission/notifcation.
 * https://github.com/jtsage/jquery-mobile-datebox
 *
 * Translation by: ChiElvis <elvis311@msn.com>, josher19 <crowdin>
 *
 */

jQuery.extend(jQuery.mobile.datebox.prototype.options.lang, {
    'zh-CN': {
        setDateButtonLabel: "设置日期",
        setTimeButtonLabel: "设置时间",
        setDurationButtonLabel: "设置持续时间",
        calTodayButtonLabel: "选择今天日期",
        titleDateDialogLabel: "选择日期",
        titleTimeDialogLabel: "选择时间",
        daysOfWeek: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
        daysOfWeekShort: ["日", "一", "二", "三", "四", "五", "六"],
        monthsOfYear: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
        monthsOfYearShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
        durationLabel: ["天", "小时", "分钟", "秒"],
        durationDays: ["天", "天"],
        tooltip: "开启日期选取器",
        nextMonth: "下个月",
        prevMonth: "上个月",
        timeFormat: 24,
        headerFormat: '%Y %B %-d %A',
        dateFieldOrder: ['y', 'm', 'd'],
        timeFieldOrder: ['h', 'i', 'a'],
        slideFieldOrder: ['y', 'm', 'd'],
        dateFormat: "%Y-%m-%d",
        useArabicIndic: false,
        isRTL: false,
        calStartDay: 0,
        clearButton: "清除",
        durationOrder: ['d', 'h', 'i', 's'],
        meridiem: ["上午", "下午"],
        timeOutput: "%k:%M",
        durationFormat: "%Dd %DA, %Dl:%DM:%DS",
        calDateListLabel: "其他日期",
        calHeaderFormat: "%B %Y"
    }
});
jQuery.extend(jQuery.mobile.datebox.prototype.options, {
    useLang: 'zh-CN'
});
